

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>Create KisConfigDictionary</title>         
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${resource(dir:'')}">Home</a></span>
            <span class="menuButton"><g:link class="list" action="list">KisConfigDictionary List</g:link></span>
        </div>
        <div class="body">
            <h1>Create KisConfigDictionary</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${kisConfigDictionaryInstance}">
            <div class="errors">
                <g:renderErrors bean="${kisConfigDictionaryInstance}" as="list" />
            </div>
            </g:hasErrors>
            <g:form action="save" method="post" >
                <div class="dialog">
                    <table>
                        <tbody>
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="title">Title:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'title','errors')}">
                                    <input type="text" id="title" name="title" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'title')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="name">Name:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'name','errors')}">
                                    <input type="text" id="name" name="name" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'name')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="orderflag">Orderflag:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'orderflag','errors')}">
                                    <input type="text" id="orderflag" name="orderflag" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'orderflag')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="creator">Creator:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'creator','errors')}">
                                    <input type="text" id="creator" name="creator" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'creator')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="modifier">Modifier:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'modifier','errors')}">
                                    <input type="text" id="modifier" name="modifier" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'modifier')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="create_date">Createdate:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'create_date','errors')}">
                                    <input type="text" id="create_date" name="create_date" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'create_date')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="modify_date">Modifydate:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'modify_date','errors')}">
                                    <input type="text" id="modify_date" name="modify_date" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'modify_date')}"/>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="memo">Memo:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'memo','errors')}">
<!--
                                    <input type="text" id="memo" name="memo" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'memo')}"/>
-->
                                    
                                    <fckeditor:editor id="memo" name="memo" 
                                    	width="100%"
                                    	height="400" 
                                    	toolbar="Standard"
                                    	fileBrowser="default"
                                    	>
                                    	${fieldValue(bean:kisConfigDictionaryInstance,field:'memo')}
                                    </fckeditor:editor> 

                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="parent">Parent:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'parent','errors')}">
                                    <g:select optionKey="id" from="${KisConfigDictionary.list()}" name="parent.id" value="${kisConfigDictionaryInstance?.parent?.id}" noSelection="['null':'']"></g:select>
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="sequence">Sequence:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'sequence','errors')}">
                                    <input type="text" id="sequence" name="sequence" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'sequence')}" />
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="type">Type:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'type','errors')}">
                                    <input type="text" id="type" name="type" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'type')}" />
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="hassub">Hassub:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'hassub','errors')}">
                                    <input type="text" id="hassub" name="hassub" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'hassub')}" />
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="iscategory">Iscategory:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'iscategory','errors')}">
                                    <input type="text" id="iscategory" name="iscategory" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'iscategory')}" />
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="isproperty">Isproperty:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'isproperty','errors')}">
                                    <input type="text" id="isproperty" name="isproperty" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'isproperty')}" />
                                </td>
                            </tr> 
                        
                            <tr class="prop">
                                <td valign="top" class="name">
                                    <label for="useflag">Useflag:</label>
                                </td>
                                <td valign="top" class="value ${hasErrors(bean:kisConfigDictionaryInstance,field:'useflag','errors')}">
                                    <input type="text" id="useflag" name="useflag" value="${fieldValue(bean:kisConfigDictionaryInstance,field:'useflag')}" />
                                </td>
                            </tr> 
                        
                        </tbody>
                    </table>
                </div>
                <div class="buttons">
                    <span class="button"><input class="save" type="submit" value="Create" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
